﻿@model BGSEOTools.WebApp.Models.KeywordPositionModel
@{
    ViewBag.Title = "Keyword Position";
}

<h2>@ViewBag.Title</h2>

<p>Search engine optimization goal - that coveted position in the top 3 results on search engines. It can take some time, but each milestone means you're doing something right. Use this free tool to check your position in the top search engines for specific keywords to determine what is working, and what needs more work... Enter one keyword per line in the first box, the domain/website to test in the second box, select the boxes for which search engines you want to check, select which page range you want to check, then click on "Check Position" and watch the tool do its thing! </p>

@using (Html.BeginForm())
{
    @* TODO: Make formatting better
            Example:
              <form role="form">
        <div class="form-group">
          <label for="exampleInputEmail1">Email address</label>
          <input type="email" class="form-control" id="exampleInputEmail1" placeholder="Enter email">
        </div>... *@

    <p><label for="Domain"><span class="lead">Your domain</span> (e.g. example.com):</label></p>
    <p>@Html.TextBoxFor(m => m.Domain, new { @class = "form-inline" })</p>

    <label for="Keywords"><span class="lead">Keywords</span> (up to 20, one per line):</label>
    <p>@Html.TextAreaFor(m => m.Keywords)</p>

    <p><label for="PageRange"><span class="lead">Page Range:</span></label></p>
    <p>
        @* TODO: Make this an Editor template if possible *@
        @(Html.DropDownListFor(m => m.PageRange, new List<SelectListItem>()
          {
              new SelectListItem(){ Text = "1-10", Value = "10" },
              new SelectListItem(){ Text = "11-30", Value = "30" },
              new SelectListItem(){ Text = "31-50", Value = "50" }
          }))
    </p>

    <p><label for="SearchEngines"><span class="lead">Search engine(s):</span></label></p>
    @* TODO: Make this an Editor template *@

    <input type="submit" value="Check Position" />
}